obj-m := xhci_test.o  
xhci_test-objs := xhci-pci.o xhci-plat.o xhci_platform.o
KDIR := /home/zoucao/work/project/android_intel/linux/kernel
OUT_DIR  :=/home/zoucao/work/project/android_intel/out/target/product/saltbay/linux/kernel
PWD := $(shell pwd)  
default:  
	$(MAKE) -C $(KDIR) O=$(OUT_DIR)  M=$(PWD) modules  
clean:
	rm -rf .*.cmd *.o *.mod.c  .tmp_versions *.order *symvers *Module.markers  *.ko.*
 

# as follow is make extern mod command to build
#lock_test-objs :=spinlock.o dev_bus.o pm_dbg.o pm_entry.o \
					pm_wakelock.o
#obj-m += lock_test.o 



